package ar.utn.frgp.banco.service;

import ar.utn.frgp.banco.entity.Prestamo;
import ar.utn.frgp.banco.exceptions.PersonalisedException;
import ar.utn.frgp.banco.exceptions.ServiceException;

public interface PrestamoService {
	/**
	 * 
	 * @param dni
	 * @return El prestamo
	 * @throws PersonalisedException 
	 */
	Prestamo consultarPrestamo(String dni) throws PersonalisedException;
	
	/* */
	public Integer consultarCuotas(Long id) throws PersonalisedException;

	public Boolean solicitarPrestamo(Prestamo pres) throws ServiceException;
	
	public Boolean esActivo(String dni) throws ServiceException;

}
